package com.zhongwang.mms.gen.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MProjectInventoryMarkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MProjectInventoryMarkExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPimIdIsNull() {
            addCriterion("pim_id is null");
            return (Criteria) this;
        }

        public Criteria andPimIdIsNotNull() {
            addCriterion("pim_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimIdEqualTo(Integer value) {
            addCriterion("pim_id =", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdNotEqualTo(Integer value) {
            addCriterion("pim_id <>", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdGreaterThan(Integer value) {
            addCriterion("pim_id >", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_id >=", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdLessThan(Integer value) {
            addCriterion("pim_id <", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_id <=", value, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdIn(List<Integer> values) {
            addCriterion("pim_id in", values, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdNotIn(List<Integer> values) {
            addCriterion("pim_id not in", values, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_id between", value1, value2, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_id not between", value1, value2, "pimId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdIsNull() {
            addCriterion("pim_mat_id is null");
            return (Criteria) this;
        }

        public Criteria andPimMatIdIsNotNull() {
            addCriterion("pim_mat_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimMatIdEqualTo(Integer value) {
            addCriterion("pim_mat_id =", value, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdNotEqualTo(Integer value) {
            addCriterion("pim_mat_id <>", value, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdGreaterThan(Integer value) {
            addCriterion("pim_mat_id >", value, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_mat_id >=", value, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdLessThan(Integer value) {
            addCriterion("pim_mat_id <", value, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_mat_id <=", value, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdIn(List<Integer> values) {
            addCriterion("pim_mat_id in", values, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdNotIn(List<Integer> values) {
            addCriterion("pim_mat_id not in", values, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_mat_id between", value1, value2, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimMatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_mat_id not between", value1, value2, "pimMatId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdIsNull() {
            addCriterion("pim_after_ity_id is null");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdIsNotNull() {
            addCriterion("pim_after_ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdEqualTo(Integer value) {
            addCriterion("pim_after_ity_id =", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdNotEqualTo(Integer value) {
            addCriterion("pim_after_ity_id <>", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdGreaterThan(Integer value) {
            addCriterion("pim_after_ity_id >", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_after_ity_id >=", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdLessThan(Integer value) {
            addCriterion("pim_after_ity_id <", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_after_ity_id <=", value, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdIn(List<Integer> values) {
            addCriterion("pim_after_ity_id in", values, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdNotIn(List<Integer> values) {
            addCriterion("pim_after_ity_id not in", values, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_after_ity_id between", value1, value2, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimAfterItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_after_ity_id not between", value1, value2, "pimAfterItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdIsNull() {
            addCriterion("pim_before_ity_id is null");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdIsNotNull() {
            addCriterion("pim_before_ity_id is not null");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdEqualTo(Integer value) {
            addCriterion("pim_before_ity_id =", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdNotEqualTo(Integer value) {
            addCriterion("pim_before_ity_id <>", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdGreaterThan(Integer value) {
            addCriterion("pim_before_ity_id >", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_before_ity_id >=", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdLessThan(Integer value) {
            addCriterion("pim_before_ity_id <", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdLessThanOrEqualTo(Integer value) {
            addCriterion("pim_before_ity_id <=", value, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdIn(List<Integer> values) {
            addCriterion("pim_before_ity_id in", values, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdNotIn(List<Integer> values) {
            addCriterion("pim_before_ity_id not in", values, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdBetween(Integer value1, Integer value2) {
            addCriterion("pim_before_ity_id between", value1, value2, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimBeforeItyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_before_ity_id not between", value1, value2, "pimBeforeItyId");
            return (Criteria) this;
        }

        public Criteria andPimNumIsNull() {
            addCriterion("pim_num is null");
            return (Criteria) this;
        }

        public Criteria andPimNumIsNotNull() {
            addCriterion("pim_num is not null");
            return (Criteria) this;
        }

        public Criteria andPimNumEqualTo(Double value) {
            addCriterion("pim_num =", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumNotEqualTo(Double value) {
            addCriterion("pim_num <>", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumGreaterThan(Double value) {
            addCriterion("pim_num >", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_num >=", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumLessThan(Double value) {
            addCriterion("pim_num <", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumLessThanOrEqualTo(Double value) {
            addCriterion("pim_num <=", value, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumIn(List<Double> values) {
            addCriterion("pim_num in", values, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumNotIn(List<Double> values) {
            addCriterion("pim_num not in", values, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumBetween(Double value1, Double value2) {
            addCriterion("pim_num between", value1, value2, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimNumNotBetween(Double value1, Double value2) {
            addCriterion("pim_num not between", value1, value2, "pimNum");
            return (Criteria) this;
        }

        public Criteria andPimWeightIsNull() {
            addCriterion("pim_weight is null");
            return (Criteria) this;
        }

        public Criteria andPimWeightIsNotNull() {
            addCriterion("pim_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPimWeightEqualTo(Double value) {
            addCriterion("pim_weight =", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightNotEqualTo(Double value) {
            addCriterion("pim_weight <>", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightGreaterThan(Double value) {
            addCriterion("pim_weight >", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_weight >=", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightLessThan(Double value) {
            addCriterion("pim_weight <", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightLessThanOrEqualTo(Double value) {
            addCriterion("pim_weight <=", value, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightIn(List<Double> values) {
            addCriterion("pim_weight in", values, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightNotIn(List<Double> values) {
            addCriterion("pim_weight not in", values, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightBetween(Double value1, Double value2) {
            addCriterion("pim_weight between", value1, value2, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimWeightNotBetween(Double value1, Double value2) {
            addCriterion("pim_weight not between", value1, value2, "pimWeight");
            return (Criteria) this;
        }

        public Criteria andPimDateIsNull() {
            addCriterion("pim_date is null");
            return (Criteria) this;
        }

        public Criteria andPimDateIsNotNull() {
            addCriterion("pim_date is not null");
            return (Criteria) this;
        }

        public Criteria andPimDateEqualTo(Date value) {
            addCriterion("pim_date =", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateNotEqualTo(Date value) {
            addCriterion("pim_date <>", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateGreaterThan(Date value) {
            addCriterion("pim_date >", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateGreaterThanOrEqualTo(Date value) {
            addCriterion("pim_date >=", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateLessThan(Date value) {
            addCriterion("pim_date <", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateLessThanOrEqualTo(Date value) {
            addCriterion("pim_date <=", value, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateIn(List<Date> values) {
            addCriterion("pim_date in", values, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateNotIn(List<Date> values) {
            addCriterion("pim_date not in", values, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateBetween(Date value1, Date value2) {
            addCriterion("pim_date between", value1, value2, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimDateNotBetween(Date value1, Date value2) {
            addCriterion("pim_date not between", value1, value2, "pimDate");
            return (Criteria) this;
        }

        public Criteria andPimProposerIsNull() {
            addCriterion("pim_proposer is null");
            return (Criteria) this;
        }

        public Criteria andPimProposerIsNotNull() {
            addCriterion("pim_proposer is not null");
            return (Criteria) this;
        }

        public Criteria andPimProposerEqualTo(String value) {
            addCriterion("pim_proposer =", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerNotEqualTo(String value) {
            addCriterion("pim_proposer <>", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerGreaterThan(String value) {
            addCriterion("pim_proposer >", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerGreaterThanOrEqualTo(String value) {
            addCriterion("pim_proposer >=", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerLessThan(String value) {
            addCriterion("pim_proposer <", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerLessThanOrEqualTo(String value) {
            addCriterion("pim_proposer <=", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerLike(String value) {
            addCriterion("pim_proposer like", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerNotLike(String value) {
            addCriterion("pim_proposer not like", value, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerIn(List<String> values) {
            addCriterion("pim_proposer in", values, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerNotIn(List<String> values) {
            addCriterion("pim_proposer not in", values, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerBetween(String value1, String value2) {
            addCriterion("pim_proposer between", value1, value2, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimProposerNotBetween(String value1, String value2) {
            addCriterion("pim_proposer not between", value1, value2, "pimProposer");
            return (Criteria) this;
        }

        public Criteria andPimRemarkIsNull() {
            addCriterion("pim_remark is null");
            return (Criteria) this;
        }

        public Criteria andPimRemarkIsNotNull() {
            addCriterion("pim_remark is not null");
            return (Criteria) this;
        }

        public Criteria andPimRemarkEqualTo(String value) {
            addCriterion("pim_remark =", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotEqualTo(String value) {
            addCriterion("pim_remark <>", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkGreaterThan(String value) {
            addCriterion("pim_remark >", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("pim_remark >=", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkLessThan(String value) {
            addCriterion("pim_remark <", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkLessThanOrEqualTo(String value) {
            addCriterion("pim_remark <=", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkLike(String value) {
            addCriterion("pim_remark like", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotLike(String value) {
            addCriterion("pim_remark not like", value, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkIn(List<String> values) {
            addCriterion("pim_remark in", values, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotIn(List<String> values) {
            addCriterion("pim_remark not in", values, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkBetween(String value1, String value2) {
            addCriterion("pim_remark between", value1, value2, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimRemarkNotBetween(String value1, String value2) {
            addCriterion("pim_remark not between", value1, value2, "pimRemark");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusIsNull() {
            addCriterion("pim_app_status is null");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusIsNotNull() {
            addCriterion("pim_app_status is not null");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusEqualTo(Integer value) {
            addCriterion("pim_app_status =", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusNotEqualTo(Integer value) {
            addCriterion("pim_app_status <>", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusGreaterThan(Integer value) {
            addCriterion("pim_app_status >", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("pim_app_status >=", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusLessThan(Integer value) {
            addCriterion("pim_app_status <", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusLessThanOrEqualTo(Integer value) {
            addCriterion("pim_app_status <=", value, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusIn(List<Integer> values) {
            addCriterion("pim_app_status in", values, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusNotIn(List<Integer> values) {
            addCriterion("pim_app_status not in", values, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusBetween(Integer value1, Integer value2) {
            addCriterion("pim_app_status between", value1, value2, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAppStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("pim_app_status not between", value1, value2, "pimAppStatus");
            return (Criteria) this;
        }

        public Criteria andPimAccountIsNull() {
            addCriterion("pim_account is null");
            return (Criteria) this;
        }

        public Criteria andPimAccountIsNotNull() {
            addCriterion("pim_account is not null");
            return (Criteria) this;
        }

        public Criteria andPimAccountEqualTo(String value) {
            addCriterion("pim_account =", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountNotEqualTo(String value) {
            addCriterion("pim_account <>", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountGreaterThan(String value) {
            addCriterion("pim_account >", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountGreaterThanOrEqualTo(String value) {
            addCriterion("pim_account >=", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountLessThan(String value) {
            addCriterion("pim_account <", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountLessThanOrEqualTo(String value) {
            addCriterion("pim_account <=", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountLike(String value) {
            addCriterion("pim_account like", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountNotLike(String value) {
            addCriterion("pim_account not like", value, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountIn(List<String> values) {
            addCriterion("pim_account in", values, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountNotIn(List<String> values) {
            addCriterion("pim_account not in", values, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountBetween(String value1, String value2) {
            addCriterion("pim_account between", value1, value2, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimAccountNotBetween(String value1, String value2) {
            addCriterion("pim_account not between", value1, value2, "pimAccount");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateIsNull() {
            addCriterion("pim_chekc_date is null");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateIsNotNull() {
            addCriterion("pim_chekc_date is not null");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateEqualTo(Date value) {
            addCriterion("pim_chekc_date =", value, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateNotEqualTo(Date value) {
            addCriterion("pim_chekc_date <>", value, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateGreaterThan(Date value) {
            addCriterion("pim_chekc_date >", value, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateGreaterThanOrEqualTo(Date value) {
            addCriterion("pim_chekc_date >=", value, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateLessThan(Date value) {
            addCriterion("pim_chekc_date <", value, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateLessThanOrEqualTo(Date value) {
            addCriterion("pim_chekc_date <=", value, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateIn(List<Date> values) {
            addCriterion("pim_chekc_date in", values, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateNotIn(List<Date> values) {
            addCriterion("pim_chekc_date not in", values, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateBetween(Date value1, Date value2) {
            addCriterion("pim_chekc_date between", value1, value2, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimChekcDateNotBetween(Date value1, Date value2) {
            addCriterion("pim_chekc_date not between", value1, value2, "pimChekcDate");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIsNull() {
            addCriterion("pim_executor is null");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIsNotNull() {
            addCriterion("pim_executor is not null");
            return (Criteria) this;
        }

        public Criteria andPimExecutorEqualTo(String value) {
            addCriterion("pim_executor =", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorNotEqualTo(String value) {
            addCriterion("pim_executor <>", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorGreaterThan(String value) {
            addCriterion("pim_executor >", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorGreaterThanOrEqualTo(String value) {
            addCriterion("pim_executor >=", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorLessThan(String value) {
            addCriterion("pim_executor <", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorLessThanOrEqualTo(String value) {
            addCriterion("pim_executor <=", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorLike(String value) {
            addCriterion("pim_executor like", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorNotLike(String value) {
            addCriterion("pim_executor not like", value, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorIn(List<String> values) {
            addCriterion("pim_executor in", values, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorNotIn(List<String> values) {
            addCriterion("pim_executor not in", values, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorBetween(String value1, String value2) {
            addCriterion("pim_executor between", value1, value2, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimExecutorNotBetween(String value1, String value2) {
            addCriterion("pim_executor not between", value1, value2, "pimExecutor");
            return (Criteria) this;
        }

        public Criteria andPimPriceIsNull() {
            addCriterion("pim_price is null");
            return (Criteria) this;
        }

        public Criteria andPimPriceIsNotNull() {
            addCriterion("pim_price is not null");
            return (Criteria) this;
        }

        public Criteria andPimPriceEqualTo(Double value) {
            addCriterion("pim_price =", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceNotEqualTo(Double value) {
            addCriterion("pim_price <>", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceGreaterThan(Double value) {
            addCriterion("pim_price >", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_price >=", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceLessThan(Double value) {
            addCriterion("pim_price <", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceLessThanOrEqualTo(Double value) {
            addCriterion("pim_price <=", value, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceIn(List<Double> values) {
            addCriterion("pim_price in", values, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceNotIn(List<Double> values) {
            addCriterion("pim_price not in", values, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceBetween(Double value1, Double value2) {
            addCriterion("pim_price between", value1, value2, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimPriceNotBetween(Double value1, Double value2) {
            addCriterion("pim_price not between", value1, value2, "pimPrice");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightIsNull() {
            addCriterion("pim_used_weight is null");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightIsNotNull() {
            addCriterion("pim_used_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightEqualTo(Double value) {
            addCriterion("pim_used_weight =", value, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightNotEqualTo(Double value) {
            addCriterion("pim_used_weight <>", value, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightGreaterThan(Double value) {
            addCriterion("pim_used_weight >", value, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_used_weight >=", value, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightLessThan(Double value) {
            addCriterion("pim_used_weight <", value, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightLessThanOrEqualTo(Double value) {
            addCriterion("pim_used_weight <=", value, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightIn(List<Double> values) {
            addCriterion("pim_used_weight in", values, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightNotIn(List<Double> values) {
            addCriterion("pim_used_weight not in", values, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightBetween(Double value1, Double value2) {
            addCriterion("pim_used_weight between", value1, value2, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimUsedWeightNotBetween(Double value1, Double value2) {
            addCriterion("pim_used_weight not between", value1, value2, "pimUsedWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightIsNull() {
            addCriterion("pim_residue_weight is null");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightIsNotNull() {
            addCriterion("pim_residue_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightEqualTo(Double value) {
            addCriterion("pim_residue_weight =", value, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightNotEqualTo(Double value) {
            addCriterion("pim_residue_weight <>", value, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightGreaterThan(Double value) {
            addCriterion("pim_residue_weight >", value, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("pim_residue_weight >=", value, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightLessThan(Double value) {
            addCriterion("pim_residue_weight <", value, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightLessThanOrEqualTo(Double value) {
            addCriterion("pim_residue_weight <=", value, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightIn(List<Double> values) {
            addCriterion("pim_residue_weight in", values, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightNotIn(List<Double> values) {
            addCriterion("pim_residue_weight not in", values, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightBetween(Double value1, Double value2) {
            addCriterion("pim_residue_weight between", value1, value2, "pimResidueWeight");
            return (Criteria) this;
        }

        public Criteria andPimResidueWeightNotBetween(Double value1, Double value2) {
            addCriterion("pim_residue_weight not between", value1, value2, "pimResidueWeight");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}